{% extends "base.html" %}

{% block content %}
<script language=javascript>

function verify(form){
  if(form.name.value==""){
	alert("Enter the name please!");
	form.name.focus();		
       return false;
	}
	return true;
 }

</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">
	<form name='form1' id='form1' action="/save_fi/" method='post' onsubmit='return verify(this);'>
<table width='80%' class='grid' cellspacing='1' align='center'><tr><td colspan='10' class='title' align="center">Edit further interest</td></tr>
<tr valign='middle' align='left'><td class='odd' width='25%'><font color="red">*</font>Name</td>
<td class='even'><input type="text" name="name" value="{{fi.name}}" /></td></tr>
<tr valign='middle' align='left'><td class='odd' width='25%'></td>

<input type="hidden" name="id" value="{{fi.id}}" />

<td class='even'>&nbsp;<input type='submit' class='button' name='submit'  id='submit' value=' Submit '  />&nbsp;<input type='button' class='button' name='back'  id='reset' value=' Back ' onclick="javascrip:history.back(1)" /></form></td></tr>

</table>


{% endblock %}
